package com.qscloud.product.hr.service.impl;

import com.qscloud.product.hr.entity.Product;
import com.qscloud.product.hr.dao.ProductDao;
import com.qscloud.product.hr.service.ProductService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hr
 * @since 2021-04-07
 */
@Service
public class ProductServiceImpl extends ServiceImpl<ProductDao, Product> implements ProductService {

    @Autowired
    ProductDao productDao;


    @Override
    public Product queryOne() {
        return productDao.seleOne();
    }
}
